package com.btpj.shop.dto.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 轮播图配置参数
 *
 * @author BTPJ
 */
@ApiModel("轮播图配置参数")
@Data
public class BannerParam implements Serializable {
    @ApiModelProperty("轮播图片的Url")
    @NotNull
    private String url;

    @ApiModelProperty("点击后跳转的Url")
    private String clickUrl;

    @ApiModelProperty("排序值（值越大越靠前）")
    @NotNull
    private Integer sort;

    private static final long serialVersionUID = 1L;
}